package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 出库单详情信息
 * </p>
 *
 * @author qubaofeng
 * @since 2025-02-23
 */
@Data
@TableName("chu_ku_dan_detail")
public class ChuKuDanDetail extends BaseEntity {


    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 货品id
     */
    private Long huoPinId;

    /**
     * 货品id
     */
    @TableField(exist = false)
    private String huoPinName;

    /**
     * 订单详情id
     */
    private Long dingDanDetailId;

    /**
     * 出库数量
     */
    private BigDecimal chuKuCount;

    private BigDecimal chuKuPrice;

    private Date chuKuShiJian;

    @TableField(exist = false)
    private String dangKouId;

    @TableField(exist = false)
    private String dangKouName;

    @TableField(exist = false)
    private String dangKouDiZhi;

    @TableField(exist = false)
    private LocalDate riQi;

    @TableField(exist = false)
    private String shiJian;

    private Integer status;

    /** 退货标志(0:正常; 1:退货)**/
    private Integer tuiHuo;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

}
